package com.guigu.tms.base.controller;

import com.guigu.tms.base.service.IPdTransportTripsService;
import com.guigu.tms.commons.entity.base.PdTransportTrips;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 车次信息表 前端控制器
 * </p>
 *
 * @author wj
 * @since 2022-09-26
 */
@RestController
@RequestMapping("/pdTransportTrips")
public class PdTransportTripsController {

    @Autowired
    IPdTransportTripsService iPdTransportTripsService;

    @GetMapping("/ShowTransportTrips")
    public List<PdTransportTrips> ShowTransportTrips(){
        return iPdTransportTripsService.ShowTransportTrips();
    }
}
